<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/7/16 0016
 * Time: 上午 11:17
 */
namespace app\admin\model;
use think\Model;

class User extends Model{
    public static function getopenid($uid){
        return self::where('id',$uid)->value('openid');
    }
}